Along with practices like object-oriented programming and version control, automated testing is one of the greatest innovations ever to be introduced to programming。
Professional Rails Testing shows how to use automated testing—especially test-driven development—to see programming from a whole new angle。 You’ll see not just what to do but exactly why to do it—and when to question conventional testing wisdom。 When you fully embrace automated testing and make it a habit, you’ll wonder how you ever coded any other way。
Topics covered
Tests as specificationsTest-driven developmentHow to write meaningful testsHow to write understandable testsMocks and stubsFlaky tests and how to fix themFactory Bot, RSpec and Capybara